import { connect } from 'react-redux';
import login from "../../store/action/login";
import Tab from "../../common/component/tab";
import "../../common/css/index.css";
import banner1 from "../../common/images/tab/img1.png";
import banner2 from "../../common/images/tab/img2.png";
import banner3 from "../../common/images/tab/img3.png";
import banner4 from "../../common/images/tab/img4.png";

let imgData = [banner1, banner2, banner3, banner4];

function Home(props) {
	console.log("props", props)
	return (
		<div>
			<Tab
				data={imgData}
				render={(data) => {
					return <img src={data} />
				}} />
		</div>
	);
}

export default connect(res => {
	return res;
})(Home);